package pattern.observer.guava;

import com.google.common.eventbus.EventBus;

/**
 * @author juxiaojun
 * @since 2019-05-09
 */
public class GuavaEventTest {
    public static void main(String[] args) {
        EventBus eventBus=new EventBus();
        GuavaEvent event=new GuavaEvent();
        eventBus.register(event);
        eventBus.post("Hello World!");
    }
}
